<html lang="en">
<head>
    <meta charset="utf-8">
    <meta content="width=device-width, initial-scale=1.0" name="viewport">
    <!-- Bootstrap CSS -->
    <link rel="stylesheet" th:href="@{/css/bootstrap-5.3.0-alpha1-dist/css/bootstrap.min.css}">
    <!-- jQuery first -->
    <script th:src="@{/js/jquery-3.5.1.js}"></script>
    <!-- Popper.js -->
    <script crossorigin="anonymous"
            integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49"
            src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js"></script>
    <script th:src="@{/static/js/bootstrap4.1.3.main.js}"></script>
    <script th:src="@{/static/js/bootstrap.bundle.js}"></script>
    <link th:href="@{/css/Add.css}" rel="stylesheet">
    <title></title>
</head>
<body>
<form action="../addcarservlet" method="post">
    <div class="container">
        <table class="table-bordered" th:object="${Result?.data}">
            <thead><h3>车牌号信息</h3></thead>
            <tbody>
            <tr class="table-active ">
                <th>账号</th>
                <th colspan="3">已有车牌号</th>
            </tr>
            <tr>
                <td><input class="input" th:value="*{tel}"></td>
                <td><input class="input" disabled="disabled" th:value="*{code1}" ></td>
                <td><input class="input" disabled="disabled" th:value="*{code2}"></td>
                <td><input class="input" disabled="disabled" th:value="*{code3}"></td>
            </tr>
            </tbody>
        </table>
        <br>
        <label>添加车牌号:</label>
        <input name="carnumber" placeholder="请输入车牌号" type="text">
        <input name="username" required type="hidden" value="<%=name%>">
        <button class="submit" type="submit">提交</button>
        <button class="reset" type="reset">重置</button>
        <marquee width="100%">
            <span style="color: lightcoral">每个账号最多可同时拥有三个车牌号！</span>
        </marquee>
    </div>
</form>
</body>
</html>